# if:
# if: else:
# if: elif: else:

# choice = input("输入1或者2->")
# if choice == '1':
#     print("111")
# elif choice == '2':
#     print("222")
# else:
#     print("666")

# a = int(input("输入一个整数"))
# if a % 2 == 1:
#     print("奇数")
# else:
#     print("偶数")

# pass 空语句
# a = input("输入字母")
# if a == 'a':
#     pass
# else:
#     print("1")

a = int(input("输入年份"))
if (a % 100 != 0 and a % 4 == 0) or (a % 400 == 0):
    print("yes")
else:
    print("no")